<?php

if(!defined('OT_ROOT')) {
	exit('Access Denied');
}


class AppRecom{
	public static $appName = '邀请注册&分销';
	public static $appID = 46;

	public static function Jud(){
		return false;
	}

	public static function Show($str, $def=''){
			return $def;
	}

	public static function UcMenu($mode='pc'){

	}

	public static function UserSysTrBox2($US_isRegRecomUser, $US_regFieldStr=''){
		return Adm::PluDefItem(self::$appName, '邀请人信息');
	}

	public static function UcManage($userID,$mode='pc'){

	}

	public static function AppSysTrBox1($AS_recomAnnoun, $AS_recomLinkStr, $AS_recomImgStr, $AS_recomFontStr, $AS_recomNoteStr, $AS_recomArea, $recomRateArr, $AS_recomIsMeihua, $AS_recomMeihuaFontLeft=250, $AS_recomMeihuaFontTop=511, $AS_recomMeihuaImgLeft=166, $AS_recomMeihuaImgTop=536, $AS_recomIsRev=0){
		return Adm::PluDefItem(self::$appName, '邀请注册&分销');
	}

	public static function UsersBox1($urlPara){
		return '<input type="button" value="查看推荐注册会员" style="color:#c9c9c9;" onclick="alert(\'该菜单需要先购买【'. self::$appName .'】插件才能用\');" />'. Skin::PluSign(self::$appName);
	}

	public static function UsersTabStr($recomId, $isRecomScore, $recomScore1=0, $recomScore2=0, $recomScore3=0){
		return '';
	}

	public static function UsersTabStr2($recomId, $isRecomScore, $recomScore1=0, $recomScore2=0, $recomScore3=0){
		return '';
	}

	public static function AdmManage(){

	}

	public static function RecomTypeCN($str){
		return $str;
	}

	public static function GetRegArr($mode='pc'){
		return array('', 0, '', 1, ',');
	}

	public static function AddScore($type, $userID, $username, $recomId, $diyScoreArr=array(), $mode='pc'){

	}

	public static function AddMoney($type, $userID, $username, $recomId, $diyMoney, $pro2Arr, $mode='pc'){
	}

	public static function AuditScore($dataID, $mode='pc'){

	}

	public static function UpdateFatRecomNum($recomId,$state=0,$mode=''){

	}

	public static function RegItem($recomId, $mode='pc'){
		$retStr = '<input type="hidden" id="isRecomUser" name="isRecomUser" value="0" />';
		return $retStr;
	}
}
?>